package cn.myframe.dao.sys;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.myframe.utils.core.BaseDao;
import cn.myframe.entity.sys.SysInfoEntity;

/**
 * 消息列表; InnoDB free: 3431424 kB
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2017-09-07 15:18:56
 */
public interface SysInfoDao extends BaseDao<SysInfoEntity> {
	List<SysInfoEntity> queryInfoList(Map<String, Object> map);
	
	int queryInfoCount(@Param("userId")Long userId,@Param("companyId")Long companyId,@Param("users")List<Long> users);
	
	int queryAdminInfoCount(@Param("userId")Long userId);
	
	int queryUserTotal(Map<String, Object> map);
	
	List<SysInfoEntity> selectSysInfos(@Param("ids")Long[] ids);
	
}
